html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.colorWeak {
  filter: invert(80%);
}

//header 背景
.ant-pro-layout-header-fixed-header {
  // background: url('http://www.cq.gov.cn/images/head-bac.png');
  background: url('https://xtbs.ljsyy.net/resources/background/顶部背景.png') !important;
  ;
  // background-color: #125db2 !important;
  background-size: 100% 100% !important;
}

// .ant-pro-top-nav-header-menu {
//   padding-left: 28px !important;
// }

// .ant-pro-base-menu-horizontal-submenu {
//   padding-inline: 24px !important;
// }

// .ant-pro-base-menu-horizontal-menu-item {
//   padding-inline: 24px !important;
// }

// .ant-pro-base-menu-horizontal-item-text {
//   font-size: 17px !important;
// }

// .ant-layout-header .ant-menu {
//   line-height: 3.15 !important;
// }

//标题
.ant-pro-top-nav-header-logo a h1 {
  // font-weight: bold !important;
  font-family: 'Microsoft Yahei';
}

//卡片action背景颜色
.ant-card-actions {
  // background: #DDF1FE !important;
}

.ant-layout {
  min-height: 100vh;
}

@media screen and (max-width: 768px) {
  .ant-layout {
    padding: 0 !important;
  }
}

.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;

    &-thead>tr,
    &-tbody>tr {

      >th,
      >td {
        white-space: pre;

        >span {
          display: block;
        }
      }
    }
  }
}